package com.yserp.project.erp.bill.receivemoney.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yserp.project.erp.bill.receivemoney.domain.ReceiveMoney;
import com.yserp.project.erp.bill.receivemoney.domain.ReceiveMoneyDto;
import com.yserp.project.erp.bill.receivemoney.domain.ReceiveMoneyVo;

import java.util.List;

/**
 * 收款单Service接口
 * 
 * @author yserp
 * @date 2022-08-11
 */
public interface IReceiveMoneyService extends IService<ReceiveMoney>
{
    /**
     * 查询收款单
     * 
     * @param id 收款单主键
     * @return 收款单
     */
    public ReceiveMoneyVo selectReceiveMoneyById(Long id);

    /**
     * 查询收款单列表
     * 
     * @param receiveMoney 收款单
     * @return 收款单集合
     */
    public List<ReceiveMoney> selectReceiveMoneyList(ReceiveMoney receiveMoney);

    /**
     * 新增收款单
     * 
     * @param receiveMoney 收款单
     * @return 结果
     */
    public int insertReceiveMoney(ReceiveMoneyDto receiveMoney);

    /**
     * 修改收款单
     * 
     * @param receiveMoney 收款单
     * @return 结果
     */
    public int updateReceiveMoney(ReceiveMoneyDto receiveMoney);

    /**
     * 批量删除收款单
     * 
     * @param ids 需要删除的收款单主键集合
     * @return 结果
     */
    public int deleteReceiveMoneyByIds(String ids);

    /**
     * 删除收款单信息
     * 
     * @param id 收款单主键
     * @return 结果
     */
    public int deleteReceiveMoneyById(Long id);

    /**
     * 审核收款单
     * @param ids 主键id集合
     * @return
     */
    public int auditReceiveMoneyByIds(String ids);
}
